<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|----------------------------------------------------       ----------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/
$router->group(['namespace' => 'App\Http\Admin\Controllers', 'prefix' => 'jiali_api/v1'], function () use ($router){
    # 不需要登录的路由
    #登陆验证码
    $router->get('/login/login_code','LoginController@login_code');
    $router->post('/login/login','\App\User@login');
    $router->post('/login/aladdin_login','\App\User@aladdin_login');
    $router->post('/login/demo','\App\User@demo');
    $router->post('/problem/demo_addimg','\App\Http\Questionnaire\Controllers\ProblemController@demo_addimg');//修改问题


//

    $router->get('/case/demo222','CaseController@demo222');

     
    
    $router->post('/case/all3','CaseController@all3');//sop请求 上传裁判文书
    $router->get('/case/all4_ret','CaseController@all4_ret');//sop请求 上传裁判文书
    $router->get('/case/all4remake','CaseController@all4remake');//sop请求 上传裁判文书

    
    $router->group(['middleware' => 'jiali'], function () use ($router){
    #用户权限管理
    $router->post('/users/add_permission','PermissionsController@add_permission')->middleware("auth:permissionManagement");
    $router->get('/users/select_permission','PermissionsController@select_permission')->middleware("auth:permissionManagement");
    $router->put('/users/update_permission/{permission}','PermissionsController@update_permission')->middleware("auth:permissionManagement");
    $router->delete('/users/delete_permission/{permission}','PermissionsController@delete_permission')->middleware("auth:permissionManagement");

    #用户角色管理
    $router->post('/users/add_role','RolesController@add_role')->middleware("auth:roleManagement");
    $router->delete('/users/delete_role/{roleId}','RolesController@delete_role')->middleware("auth:roleManagement");
    $router->put('/users/update_role/{roleId}','RolesController@update_role')->middleware("auth:roleManagement");
    $router->get('/users/select_role','RolesController@select_role')->middleware("auth:roleManagement");
    $router->get('/users/select_role_permission/{permission}','RolesController@select_role_permission')->middleware("auth:roleManagement");

    #用户管理
    $router->post('/users/add_user','UsersController@add_user')->middleware("auth:userManagement");
    $router->delete('/users/delete_user/{userId}','UsersController@delete_user')->middleware("auth:userManagement");
    $router->put('/users/update_user/{userId}','UsersController@update_user')->middleware("auth:userManagement");
    $router->get('/users/select_user','UsersController@select_user')->middleware("auth:userManagement");
    $router->get('/users/select_user_roles/{userId}','UsersController@select_user_roles')->middleware("auth:userManagement");

    #个人用户管理
    $router->get('/user/select','UsersController@select_user_info');//
    $router->put('/user/update','UsersController@update_user_info');
        
    #添加案件类型
    $router->post('/case_type/add','CaseTypeController@add_case_type')->middleware("auth:caseManagement");
    #查找案件类型
    $router->get('/case_type/select','CaseTypeController@select_case_type')->middleware("auth:caseManagement");
    #修改案件类型
    $router->put('/case_type/update/{tid}','CaseTypeController@update_case_type')->middleware("auth:caseManagement");
    #删除案件类型
    $router->delete('/case_type/delete/{tid}','CaseTypeController@delete_case_type')->middleware("auth:caseManagement");
    
    

    #添加当事人
    $router->post('/case_plaintiff/add_plaintiff','CasePlaintiffController@add_plaintiff')->middleware("auth:caseManagement");
    #删除当事人
    $router->delete('/case_plaintiff/delete_plaintiff/{pldId}','CasePlaintiffController@delete_plaintiff')->middleware("auth:caseManagement");
    #查询当事人
    $router->get('/case_plaintiff/select_plaintiff/{cid}','CasePlaintiffController@select_plaintiff')->middleware("auth:caseManagement");

    #添加标签
    $router->post('/case_label/add','CaseLabelController@add_case_label')->middleware("auth:caseManagement");
    #查找标签
    $router->get('/case_label/select','CaseLabelController@select_case_label');
    #修改标签
    $router->put('/case_label/update/{lid}','CaseLabelController@update_case_label')->middleware("auth:caseManagement");
    #删除标签
    $router->delete('/case_label/delete/{lid}','CaseLabelController@delete_case_label')->middleware("auth:caseManagement");
    #添加标签
    $router->post('/case_type_option/add','CaseTypeOptionController@add_case_type_option')->middleware("auth:caseManagement");

    #白皮书以及正则管理
    #新增白皮
    $router->post('/baipi/add_baipi','BaiPiController@add_baipi');
    #修改白皮
    $router->put('/baipi/update_baipi/{bid}','BaiPiController@update_baipi');
    #删除白皮
    $router->delete('/baipi/delete_regex/{bid}','BaiPiController@delete_regex');
    #查询白皮
    $router->get('/baipi/select_baipi','BaiPiController@select_baipi');
    
    #新增正则
    $router->post('/baipi/add_regex','BaiPiController@add_regex');
    #修改正则
    $router->put('/baipi/update_regex/{bid}','BaiPiController@update_regex');
    #删除正则
    $router->delete('/baipi/delete_baipi/{bid}','BaiPiController@delete_baipi');
    #查询正则
    $router->get('/baipi/select_regex','BaiPiController@select_regex');

    #新增白皮书正则
    $router->post('/baipi/add_baipi_regex','BaiPiController@add_baipi_regex');
    #删除白皮书正则
    $router->delete('/baipi/delete_baipi_regex/{id}','BaiPiController@delete_baipi_regex');
    # 上下移动白皮书列表
    $router->post('/baipi/bt_baipi_regex/','BaiPiController@bt_baipi_regex');
    #查询白皮书正则
    $router->get('/baipi/select_baipi_regex/{type}','BaiPiController@select_baipi_regex');
    $router->post('/baipi/select_baipi_regex_answer/{type}','BaiPiController@select_baipi_regex_answer');
    

    #添加案件
    $router->post('/case/add','CaseController@add_case')->middleware("auth:caseManagement");
    #删除案件
    $router->delete('/case/delete_case/{cid}','CaseController@delete_case')->middleware("auth:caseManagement");
    #修改案件基本信息
    $router->put('/case/update','CaseController@update_case_data')->middleware("auth:caseManagement");
    #更改案件律师
    $router->put('/case/update_case_cp/{cid}','CaseController@update_case_cp')->middleware("auth:caseManagement");
    #更改案件原告被告信息
    $router->put('/case/update_case_yd/{cid}','CaseController@update_case_yd')->middleware("auth:caseManagement");
    #更改案件法院人员以及所属法院Id
    $router->put('/case/update_case_court','CaseController@update_case_court')->middleware("auth:caseManagement");
    #查找地域
    $router->get('/case/select_city','CaseController@select_city')->middleware("auth:caseManagement");
    #更改案件基本信息
    $router->put('/case/update_case_data/{cid}','CaseController@update_case_data')->middleware("auth:caseManagement");
    #查找案件
    
    $router->get('/case/select_case/{cid}','CaseController@select_case');
    #修改案件ai提取状态
    $router->post('/case/update_ai_caseStatus/','CaseController@update_ai_caseStatus');
    #查找案件列表
    $router->get('/case/select_case_list','CaseController@select_case_list')->middleware("auth:caseManagement");
    $router->get('/case/select_case_list_ai','CaseController@select_case_list_ai')->middleware("auth:caseManagement");
    
    #查找案件数组
    $router->get('/case/update_case_create','CaseController@update_case_create')->middleware("auth:caseManagement");
    $router->get('/case/all_file','CaseController@all_file')->middleware("auth:caseManagement");


    $router->get('/case/select_province','CaseController@select_province');
    $router->get('/case/select_city','CaseController@select_city');
    $router->get('/case/select_city_count','CaseController@select_city_count');


    #查询坐席列表
    $router->get('/hujiao/select_hujiao_zuoxi','HujiaoController@select_hujiao_zuoxi');
    #修改坐席列表
    $router->post('/hujiao/update_hujiao_zuoxi','HujiaoController@update_hujiao_zuoxi');



    #获取法院信息
    $router->get('/case_court/select','CaseCourtController@select_court');
    #删除法院信息
    $router->delete('/case_court/delete/{courtId}','CaseCourtController@delete_court')->middleware("auth:caseManagement");
    #修改法院信息
    $router->put('/case_court/update/{courtId}','CaseCourtController@update_court')->middleware("auth:caseManagement");
    #添加法院信息
    $router->post('/case_court/add','CaseCourtController@add_court')->middleware("auth:caseManagement");
    #获取法院基本信息
    $router->get('/case_court/create','CaseCourtController@create')->middleware("auth:caseManagement");

    #获取法院人员信息
    $router->get('/case_court_personnel/select/{courtId}','CaseCourtPersonnelController@select_court_personnel');
    #删除法院人员信息
    $router->delete('/case_court_personnel/delete/{cpid}','CaseCourtPersonnelController@delete_court_personnel')->middleware("auth:caseManagement");
    #修改法院人员信息
    $router->put('/case_court_personnel/update/{cpid}','CaseCourtPersonnelController@update_court_personnel')->middleware("auth:caseManagement");
    #添加法院人员信息
    $router->post('/case_court_personnel/add','CaseCourtPersonnelController@add_court_personnel')->middleware("auth:caseManagement");



    #获取律所信息
    $router->get('/case_lawyer_office/select','LawyerOfficeController@select_lawyer_office');
    #获取律所基本信息
    $router->get('/case_lawyer_office/select_lawyer_case','LawyerOfficeController@select_lawyer_case')->middleware("auth:caseManagement");
    #删除律所信息
    $router->delete('/case_lawyer_office/delete/{loid}','LawyerOfficeController@delete_lawyer_office')->middleware("auth:caseManagement");
    #修改律所信息
    $router->put('/case_lawyer_office/update/{loid}','LawyerOfficeController@update_lawyer_office')->middleware("auth:caseManagement");
    #添加律所信息
    $router->post('/case_lawyer_office/add','LawyerOfficeController@add_lawyer_office')->middleware("auth:caseManagement");

    #获取律师信息
    $router->get('/case_lawyer/select/{loid}','LawyerController@select_lawyer');
    #删除律师信息
    $router->delete('/case_lawyer/delete/{lid}','LawyerController@delete_lawyer')->middleware("auth:caseManagement");
    #修改律师信息
    $router->put('/case_lawyer/update/{lid}','LawyerController@update_lawyer')->middleware("auth:caseManagement");
    #添加律师信息
    $router->post('/case_lawyer/add','LawyerController@add_lawyer')->middleware("auth:caseManagement");


    #获取案由信息
    $router->get('/case_action/select','CaseActionController@case_action_select')->middleware("auth:caseManagement");
    #删除案由信息
    
    #修改案由信息
    $router->put('/case_action/update/{aid}','CaseActionController@case_action_update');
    #添加案由信息
    $router->post('/case_action/add','CaseActionController@case_action_add')->middleware("auth:caseManagement");


    #获取案件类型信息
    $router->get('/case_type/select','CaseTypeController@select_case_type');
    #删除案件类型信息
    $router->delete('/case_type/delete/{tid}','CaseTypeController@delete_case_type')->middleware("auth:caseManagement");
    #修改案件类型信息
    $router->put('/case_type/update/{tid}','CaseTypeController@update_case_type')->middleware("auth:caseManagement");
    #添加案件类型信息
    $router->post('/case_type/add','CaseTypeController@add_case_type')->middleware("auth:caseManagement");

    #获取案件类型选项信息


    $router->get('/case_type_option/select','CaseTypeOptionController@select_case_type_option');
    #删除案件类型选项信息
    $router->delete('/case_type_option/delete/{tid}','CaseTypeOptionController@delete_case_type_option')->middleware("auth:caseManagement");
    #修改案件类型选项信息
    $router->put('/case_type_option/update/{tid}','CaseTypeOptionController@update_case_type_option')->middleware("auth:caseManagement");
    #修改案件类型选项答案信息
    $router->put('/case_type_option/update_options/{tid}','CaseTypeOptionController@add_case_type_options')->middleware("auth:caseManagement");
    #添加案件类型选项信息
    $router->post('/case_type_option/add','CaseTypeOptionController@add_case_type_option')->middleware("auth:caseManagement");

    });

});


$router->group(['namespace' => 'App\Http\Sem\Controllers', 'prefix' => 'sem/v1'], function () use ($router){

    $router->get('/insert/input','InputController@insert_input_jiali');  //提交家理表单百度竞价-1
    $router->get('/insert/input2','InputController@insert_input_jiaji');  //提交家济表单百度竞价-1
    $router->get('/insert/insert_shichang_input1','InputController@insert_shichang_input1');  //家理微信公众号菜单提交


});



$router->group(['namespace' => 'App\Http\OS\Controllers', 'prefix' => 'OS/v1'], function () use ($router){

    $router->get('/index/demo','IndexController@demoselect_case_list');  //提交表单百度竞价-1


});


//问卷系统
$router->group(['namespace' => 'App\Http\Questionnaire\Controllers', 'prefix' => 'Questionnaire/v1'], function () use ($router){
    $router->group(['middleware' => 'jiali'], function () use ($router){
        //qid 问卷id //pid问题id //aid 答案id
        //问卷管理
        $router->post('/qpgroup/demo_case','QpGroupController@demo_case')->middleware("auth:caseManagement");
     
        $router->get('/index/index','IndexController@index')->middleware("auth:questionnaireAdmin");

        $router->get('/questionnaire/select','QuestionnaireController@select')->middleware("auth:questionnaire");//问卷查询

        $router->get('/questionnaire/created','QuestionnaireController@created')->middleware("auth:questionnaire");//问卷数组

        $router->post('/questionnaire/add','QuestionnaireController@add')->middleware("auth:questionnaireAdmin");//添加问卷

        $router->put('/questionnaire/update/{qid}','QuestionnaireController@update')->middleware("auth:questionnaireAdmin");//修改问卷

        $router->delete('/questionnaire/delete/{qid}','QuestionnaireController@delete')->middleware("auth:questionnaireAdmin");//问卷删除

        $router->post('/questionnaire/copy_questionnaire/{qid}','QuestionnaireController@copy_questionnaire')->middleware("auth:questionnaireAdmin");//问卷删除
        $router->post('/questionnaire/copy_questionnaire2','QuestionnaireController@copy_questionnaire2')->middleware("auth:questionnaireAdmin");//问卷删除
        
        //临时 创建word的问卷id
        $router->get('/questionnaire/linshidemo','QuestionnaireController@linshidemo')->middleware("auth:questionnaireAdmin");//问卷删除

        //问题管理
        $router->get('/problem/created','ProblemController@created')->middleware("auth:questionnaireAdmin");//问题数组

        $router->get('/problem/select_only/{pid}','ProblemController@select_only')->middleware("auth:questionnaireAdmin");//查询单独问题

        $router->post('/problem/add','ProblemController@add')->middleware("auth:questionnaireAdmin");//新增问题

        $router->post('/problem/update/{qid}','ProblemController@update')->middleware("auth:questionnaireAdmin");//修改问题


        $router->delete('/problem/delete/{pid}','ProblemController@delete')->middleware("auth:questionnaireAdmin");//删除问题

        $router->get('/problem/select/','ProblemController@select')->middleware("auth:questionnaireAdmin");//查询问题

        $router->post('/problem/add_answer/{pid}','ProblemController@add_answer')->middleware("auth:questionnaireAdmin");//新增选项

        $router->delete('/problem/delete_answer/{pid}','ProblemController@delete_answer')->middleware("auth:questionnaireAdmin");//删除选项

        //问题管理问卷 管理

        $router->post('/ProblemQ/add','ProblemQController@add')->middleware("auth:questionnaireAdmin");//新增关联
        $router->put('/ProblemQ/update/{qpid}','ProblemQController@update')->middleware("auth:questionnaireAdmin");//修改关联

        $router->get('/ProblemQ/add_wentidemo','ProblemQController@add_wentidemo')->middleware("auth:questionnaireAdmin");//新增问题
        $router->get('/ProblemQ/select_tree/{qid}','ProblemQController@select_tree')->middleware("auth:questionnaireAdmin");//新增问题
        $router->delete('/ProblemQ/delete/{qpid}','ProblemQController@delete')->middleware("auth:questionnaireAdmin");//删除问题

        $router->get('/ProblemQ/select_qp_where/{qpid}','ProblemQController@select_qp_where')->middleware("auth:questionnaireAdmin");//查询关联条件
        $router->post('/ProblemQ/add_qp_where/{qpid}','ProblemQController@add_qp_where')->middleware("auth:questionnaireAdmin");//新增关联的条件
        $router->delete('/ProblemQ/delete_qp_where/{qpWhereId}','ProblemQController@delete_qp_where')->middleware("auth:questionnaireAdmin");//删除关联的条件
        $router->get('/ProblemQ/select_vague','ProblemQController@select_vague')->middleware("auth:questionnaireAdmin");//查询模糊查询关联
        $router->put('/ProblemQ/update_order','ProblemQController@update_order')->middleware("auth:questionnaireAdmin");//修改关联层级 父ID

        //组合管理
        $router->post('/word/add_word','WordController@add_word')->middleware("auth:questionnaireAdmin");//新增关联
        $router->put('/word/update_word/{wid}','WordController@update_word')->middleware("auth:questionnaireAdmin");//修改关联
        $router->delete('/word/delete_word/{wid}','WordController@delete_word')->middleware("auth:questionnaireAdmin");//删除关联

        $router->post('/word/addWordJson/{wid}','WordController@addWordJson')->middleware("auth:questionnaireAdmin");//添加word的json部分
        $router->put('/word/updateWordJson/{wid}','WordController@updateWordJson')->middleware("auth:questionnaireAdmin");//修改word的json部分
        $router->delete('/word/deleteWordJson/{wid}','WordController@deleteWordJson')->middleware("auth:questionnaireAdmin");//删除word的json部分

        $router->get('/word/select_tree/{wid}','WordController@select_tree')->middleware("auth:questionnaireAdmin");//查看关联树
   
   
        $router->get('/word/select/{wid}','WordController@select')->middleware("auth:questionnaireAdmin");//查询单独的组合
        $router->get('/word/outputWord/{wid}','WordController@outputWord')->middleware("auth:questionnaire");//查询单独的组合
        $router->get('/word/outputWordTS/{wid}','WordController@outputWordTS')->middleware("auth:questionnaire");//查询单独的组合
        $router->get('/word/select_word','WordController@select_word')->middleware("auth:questionnaireAdmin");//查询单独的组合
        $router->get('/word/demo_yanzheng/{qpid}','WordController@demo_yanzheng')->middleware("auth:questionnaire");//查询单独的组合
        #sop
        $router->get('/word/sopWord/','WordController@sopWord');//查询单独的组合

        //页面操作 管理
        $router->post('/page/user_add_questionnaire/{qid}','PageController@user_add_questionnaire');//新增用户问卷
        $router->post('/page/user_add_questionnaire_aladdin/{qid}','PageController@user_add_questionnaire_aladdin');//阿拉丁新增用户问卷
        $router->get('/page/aladin_select_questionnaire/','PageController@aladin_select_questionnaire');//阿拉丁批量查询项目问卷
        
        $router->post('/page/sop_add_questionnaire/{qid}','PageController@sop_add_questionnaire');//新增用户问卷
        $router->put('/page/user_update_questionnaire/{quid}','PageController@user_update_questionnaire')->middleware("auth:questionnaire");//修改用户问卷
        $router->post('/word/user_add_answer/','PageController@user_add_answer')->middleware("auth:questionnaire");//提交接口
        $router->get('/word/returnQuestionnaireJson/{qpid}','PageController@returnQuestionnaireJson')->middleware("auth:questionnaire");//查询接口
        $router->put('/page/user_delete_select_answer','PageController@user_delete_select_answer')->middleware("auth:questionnaire");//重复问题+1
        $router->put('/page/user_add_select_answer','PageController@user_add_select_answer')->middleware("auth:questionnaire");//重复问题-1
        $router->get('/page/get_word/{quid}','PageController@get_word')->middleware("auth:questionnaire");//下载word
        $router->get('/page/get_wordTS/{quid}','PageController@get_wordTS');//下载word
        $router->get('/page/word_pdfTS/{quid}','PageController@word_pdfTS');//下载pdf
        $router->get('/page/get_yijian_content_chuli/{quid}','PageController@get_yijian_content_chuli');//下载word
        
        $router->get('/page/select_user_questionnaire','PageController@select_user_questionnaire')->middleware("auth:questionnaire");//查询用户页面
        $router->post('/page/copy_user_questionnaire/{quid}','PageController@copy_user_questionnaire')->middleware("auth:questionnaire");//副本
        $router->get('/page/user_update_orderId/{quid}','PageController@user_update_orderId')->middleware("auth:questionnaire");//置顶
        $router->get('/page/get_list_user_data/{quid}','PageController@get_list_user_data')->middleware("auth:questionnaire");//示例图
        $router->post('/page/get_only_value','PageController@get_only_value')->middleware("auth:questionnaire");//获取单独问题id

        $router->get('/page/get_word/{quid}','PageController@get_word')->middleware("auth:questionnaire");//下载咨询意见书


        //个性化页面曹关 管理
        $router->post('/label/add_label','LabelController@add_label')->middleware("auth:questionnaire");//新增标签
        $router->put('/label/update_label/{qlid}','LabelController@update_label')->middleware("auth:questionnaire");//修改标签
        $router->get('/label/select_label/{qid}','LabelController@select_label')->middleware("auth:questionnaire");//搜索标签
        $router->delete('/label/delete_label/{qlid}','LabelController@delete_label')->middleware("auth:questionnaire");//删除标签
        $router->post('/label/add_label_content/{qlid}','LabelController@add_label_content')->middleware("auth:questionnaire");//添加标签内容
        $router->put('/label/update_label_content/{qldid}','LabelController@update_label_content')->middleware("auth:questionnaire");//修改标签内容
        $router->put('/label/update_order','LabelController@update_order')->middleware("auth:questionnaire");//修改标签内容
        $router->get('/label/select_label_content/{qlid}','LabelController@select_label_content')->middleware("auth:questionnaire");//搜索标签内容
        $router->delete('/label/delete_label_content/{qlid}','LabelController@delete_label_content')->middleware("auth:questionnaire");//删除标签内容
        $router->get('/label/select_uq_content/{quid}','LabelController@select_uq_content')->middleware("auth:questionnaire");//获取文本内容


        $router->get('/word/demo/','WordController@demo');//提交接口
        $router->get('/word/Verification_word/{wid}','WordController@Verification_word');//提交接口


        //文章
        $router->post('/news/add_news','NewsController@add_news');//新增文章
        $router->put('/news/update_news/{nid}','NewsController@update_news');//修改文章
        $router->delete('/news/delete_news/{nid}','NewsController@delete_news');//删除文章
        $router->put('/news/recovery_news/{nid}','NewsController@recovery_news');//恢复文章


        //文章分类
        $router->post('/newAction/add_action','ActionController@add_action');//获取文本内容
        $router->put('/newAction/update_action/{cid}','ActionController@update_action');//获取文本内容
        $router->delete('/newAction/delete_action/{cid}','ActionController@delete_action');//获取文本内容
        $router->get('/newAction/update_all_action/','ActionController@update_all_action');//批量修改案件案由

        //问卷分类
        $router->post('/qpgroup/add_q_type/','QpGroupController@add_q_type');
        $router->put('/qpgroup/update_q_type/{qType}','QpGroupController@update_q_type');
        $router->delete('/qpgroup/delete_q_type/{qType}','QpGroupController@delete_q_type');
        $router->get('/qpgroup/select_q_type/','QpGroupController@select_q_type');
        //问卷分类添加组
        $router->post('/qpgroup/add_q_type_group/','QpGroupController@add_q_type_group');
        $router->put('/qpgroup/update_q_type_group/{qTGroup}','QpGroupController@update_q_type_group');
        $router->delete('/qpgroup/delete_q_type_group/{qTGroup}','QpGroupController@delete_q_type_group');
        $router->get('/qpgroup/select_q_type_group/{qType}','QpGroupController@select_q_type_group');
        //问卷组添加关联
        $router->post('/qpgroup/add_q_type_group_qp','QpGroupController@add_q_type_group_qp');
        $router->delete('/qpgroup/delete_q_type_group_qp','QpGroupController@delete_q_type_group_qp');

        $router->get('/qpgroup/get_q_type_questionaire/{qid}','QpGroupController@get_q_type_questionaire')->middleware("auth:questionnaireAdmin");//新增问题


        //前端用户
        $router->post('/front_user/send_email','UserController@send_email');//发送邮箱验证码
        $router->post('/front_user/update_user_email','UserController@update_user_email');//修改邮箱
        $router->post('/front_user/update_password_email','UserController@update_password_email');//邮箱修改密码
        $router->post('/front_user/update_user_name','UserController@update_user_name');//修改姓名
        $router->post('/front_user/upload_user_photo','UserController@upload_user_photo');//上传头像
        $router->post('/front_user/update_password','UserController@update_password');//修改密码
        $router->post('/front_user/update_phone','UserController@update_phone');//修改手机号
        $router->post('/front_user/remake_password','UserController@remake_password');//修改密码


        $router->post('/front_user/add_user_news_log','UserController@add_user_news_log');//新增用户文章日志
        $router->post('/front_user/stop_user_news_log/{unlId}','UserController@stop_user_news_log');//结束用户文章日志
        $router->post('/front_user/add_questionnaire_log/{quid}','UserController@add_questionnaire_log');//新增用户问卷时间
        $router->post('/front_user/stop_questionnaire_log/{uqlId}','UserController@stop_questionnaire_log');//结束用户问卷时间
        $router->get('/front_user/select_user_news_log/{uid}','UserController@select_user_news_log');//查询用户文章日志



    });

    //用户注册4
    $router->post('/front_user/add_user','UserController@add_user');
    $router->post('/front_user/front_login','UserController@front_login');
    $router->post('/front_user/code_login_phone','UserController@code_login_phone');//验证码登陆
    $router->post('/front_user/phone_code','UserController@phone_code');//修改手机号
    $router->post('/front_user/phone_code_v','UserController@phone_code_v');//单独验证手机号短信

    $router->get('/news/select_news_content/{nid}','NewsController@select_news_content');//查询文章详细信息
    $router->get('/news/select_news','NewsController@select_news');//查询文章
    $router->get('/news/select_news_list','NewsController@news_blade_list');//查询文章

    //os搜索文章
    $router->get('/news/select_os_news/','NewsController@select_os_news');//获取文本内容
    $router->get('/news/pay/{nid}','NewsController@pay');
    $router->get('/news/verification_pay/{nid}','NewsController@verification_pay');
    $router->get('/news/news_hot/','NewsController@news_hot');//热门文章

    $router->get('/newAction/select_action/{type}','ActionController@select_action');//获取文本内容
    $router->get('/word/word_all/{wid}','WordController@word_all');//获取文本内容
    $router->post('/front_user/update_password_phone','UserController@update_password_phone');//手机号修改密码
    $router->post('/front_user/update_password_phone2','UserController@update_password_phone2');//手机号修改密码

    $router->get('/page/pdf_pdf/{quid}','PageController@pdf_pdf');//获取文本内容
    


    $router->get('/page/demo2','PageController@demo2');//获取文本内容
    $router->get('/page/demo3','PageController@demo3');//获取文本内容

});

